/**
 *
 */
package net.haroeris.wh40kcampaign.beans.to;

import java.util.Collection;

/**
 * @author user
 *
 */
public class CampaignTO {

    private Long id;

    private Collection<PlayerTO> players;
    private Collection<PartyTO> parties;
    /**Der Name der Kampagne*/
    private String name;
    /** Eine sprechende Beschreibung der Kampagne. */
    private String description;

    /**
     * @return the players
     */
    public Collection<PlayerTO> getPlayers() {
        return players;
    }
    /**
     * @param players the players to set
     */
    public void setPlayers(Collection<PlayerTO> players) {
        this.players = players;
    }
    /**
     * @return the parties
     */
    public Collection<PartyTO> getParties() {
        return parties;
    }
    /**
     * @param parties the parties to set
     */
    public void setParties(Collection<PartyTO> parties) {
        this.parties = parties;
    }
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }
    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }
    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }
    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString(){
        return "["+getClass().getSimpleName()+" id="+getId()+"; name="+getName()+"]";
    }
}